import { ABP } from '@abp/ng.core';
import { SettingTabsService } from '@abp/ng.setting-management/config';
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-setting-management',
  templateUrl: './setting-management.component.html',
  styleUrls: ['./setting-management.component.less'],
})
export class SettingManagementComponent implements OnInit {
  settings: ABP.Tab[] = [];
  constructor(private settingTabsService: SettingTabsService) {}

  ngOnInit(): void {
    this.settingTabsService.visible$.subscribe(settings => {
      this.settings = settings;
    });
  }
}
